<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<form id="userForm" method="post" enctype="multipart/form-data" class="easyui-form">
	<input type="hidden" value="${jytea.id }" name="id"/>
	<div style="float: left;">
	<div class="form-item required">
		<label for="">学员班级</label> 
		<input class="easyui-combobox" style="width: 200px;"
			data-options="valueField:'tb_classes_id', 
		            textField:'class_name', 
		            url:'teaemploy/getClassList',
		            panelHeight:'150px',
		            required:true,
		            editable:false,
		            onSelect:function(rec){
           	 			$('[comboname=student]').combobox('clear');  
            			$('[comboname=student]').combobox('reload', 'teaemploy/getStudentListByClass/' + rec.tb_classes_id);
            			$('[comboname=student]').combobox({
            				valueField:'tb_student_id',
		            		textField:'student_name', 
		            		required:true,
		            		editable:true,
            			});
        			},  
        			onLoadSuccess:function(){  
            			var value = $(this).combobox('getValue');
            			if(value != ''){
            				$('[comboname=student]').combobox('reload', 'teaemploy/getStudentListByClass/' + $(this).combobox('getValue'));  
                		}  
        			}" value="${sel.tb_classes_id }" disabled/>

	</div>
	<div class="form-item required">
		<label for="">学员姓名</label> 
		<input name="student" value="${sel.tb_student_id }" disabled class="easyui-combobox" style="width: 200px;" data-options="panelHeight:'300px',prompt:'请先填入班级'">
	</div>
	<div class="form-item required">
		<label for="">毕业时间</label> 
		<input name="gdtime" class="easyui-datebox" data-options="editable:false,required:true,showSeconds:false" value="${jytea.gdtime }" style="width: 200px">
	</div>
	<div class="form-item">
		<label for="">公司</label> 
		<input name="company" type="text" class="easyui-textbox" value="${jytea.company }"/>
	</div>
	<div class="form-item">
		<label for="">公司地址</label>
		<input name="address" type="text" class="easyui-textbox" value="${jytea.address }"/>
	</div>
	<div class="form-item">
		<label for="">入职时间</label> 
		<input name="getjobtime" class="easyui-datebox" data-options="editable:false,showSeconds:false" value="${jytea.getjobtime }" style="width: 200px">
	</div>
	</div>
	<div style="float: left;">
	<div class="form-item">
		<label for="">offer</label>
		<input class="easyui-filebox" name="file" style="width: 200px" accept="image/jpeg,image/jpg, image/png" 
		data-options="prompt:'Choose a file...'">
	</div>
	
	<div class="form-item">
		<label for="">试用薪水</label> 
		<input name="trialSalary" class="easyui-numberspinner" value="${jytea.trialSalary }" style="width: 200px;" data-options="min:5000,increment:100">
	</div>
	
	<div class="form-item">
		<label for="">正式薪水</label> 
		<input name="salary" class="easyui-numberspinner" value="${jytea.salary }" style="width: 200px;" data-options="min:5000,increment:100">
	</div>
	<div class="form-item">
		<label for="">上班时间</label> 
		<input name="shift" class="easyui-timespinner" data-options="min:'08:30',showSeconds:true" value="${jytea.shift }" style="width: 200px">
	</div>
	<div class="form-item">
		<label for="">下班时间</label> 
		<input name="closing" class="easyui-timespinner" data-options="min:'08:30',showSeconds:true" value="${jytea.closing }" style="width: 200px">
	</div>
	</div>
</form>